import {ADDDOCTOR,ADDOFFICE,ADDTITLE,DELDOCTOR} from '../constant'

export const addNewDoctor=data=>({type:ADDDOCTOR,data})
export const delDoctor=data=>({type:DELDOCTOR,data})
export const addNewOffice=data=>({type:ADDOFFICE,data})
export const addNewTitle=data=>({type:ADDTITLE,data})